-- GENERATED SPELL FOR [Scarlet Bodyguard] --


function spell0_1660(pUnit, Event) --@Shield Block,Self--
pUnit:FullCastSpellOnTarget(12169,pUnit)
pUnit:RegisterEvent('Sorts_1660', 5278, 1)
end

function Sorts_1660(pUnit, Event)
local choix_sorts_1660 = math.random(0, 0)
if choix_sorts_1660 == 0 then
pUnit:RegisterEvent('spell0_1660', 1, 1)
end
end

function mob1660_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1660', math.random(1500, 3000), 1)
end

function mob1660_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1660_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1660_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1660, 1, 'mob1660_Action')
RegisterUnitEvent(1660, 2, 'mob1660_Leave')
RegisterUnitEvent(1660, 3, 'mob1660_Kill')
RegisterUnitEvent(1660, 4, 'mob1660_Die')
